package com.xcity.game.item.effect;

import com.xcity.db.entity.Player;
import com.xcity.game.common.PlayerPool;
import com.xcity.game.item.GameItem;
import com.xcity.game.item.ItemEffect;
import com.xcity.game.item.listener.BagListener;

/**
 * 保险箱
 * @author yang.li
 *
 */
public class SafeBoxEffect implements ItemEffect {

	@Override
	public boolean effect(Player player, GameItem item, int count, BagListener listener) {
		player.poolAdd(PlayerPool.PROPERTY_SAFE_BOX, count);
		return true;
	}

}
